package com.my.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "my_paper")
public class MyPaper {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 纸张名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 纸张种类
     */
    @TableField(value = "`type`")
    private Integer type;

    /**
     * 纸张内容
     */
    @TableField(value = "`content`")
    private String content;

    /**
     * 纸张图片
     */
    @TableField(value = "`img`")
    private String img;

    /**
     * 纸张视频
     */
    @TableField(value = "`video`")
    private String video;

    /**
     * 实验图
     */
    @TableField(value = "`test_img`")
    private String testImg;

    /**
     * 函数图像
     */
    @TableField(value = "`hs_img`")
    private String hsImg;
}